package dhadi.util;

import dhadi.model.Board;

public class Logger {

	public static void log(Class class1, String message) {
		System.out.println(Thread.currentThread().getName()
				+" "+Util.getFormattedDate()
				+" "+message);		
	}

	public static void log(Class class1, String string, Throwable e) {
		Logger.log(class1,string);
		if (e != null) e.printStackTrace();
	}
}
